home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / timetrak / printsel.frm < prev    next >
Text File  |  1995-09-06  |  3KB  |  128 lines

  1. VERSION 2.00
  2. Begin Form printselect 
  3.    BackColor       =   &H0000FFFF&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Print Selection"
  6.    ClientHeight    =   2910
  7.    ClientLeft      =   2700
  8.    ClientTop       =   2820
  9.    ClientWidth     =   2280
  10.    ControlBox      =   0   'False
  11.    ForeColor       =   &H00808000&
  12.    Height          =   3315
  13.    Left            =   2640
  14.    LinkMode        =   1  'Source
  15.    LinkTopic       =   "Form2"
  16.    ScaleHeight     =   2910
  17.    ScaleWidth      =   2280
  18.    Top             =   2475
  19.    Width           =   2400
  20.    Begin CommandButton canbtn 
  21.       Caption         =   "Cancel"
  22.       Height          =   555
  23.       Left            =   1260
  24.       TabIndex        =   7
  25.       Top             =   2250
  26.       Width           =   870
  27.    End
  28.    Begin CommandButton okbtn 
  29.       Caption         =   "OK"
  30.       Default         =   -1  'True
  31.       Height          =   555
  32.       Left            =   180
  33.       TabIndex        =   6
  34.       Top             =   2250
  35.       Width           =   915
  36.    End
  37.    Begin Frame Frame2 
  38.       BackColor       =   &H0000FFFF&
  39.       Caption         =   "Print"
  40.       Height          =   915
  41.       Left            =   135
  42.       TabIndex        =   1
  43.       Top             =   1215
  44.       Width           =   1995
  45.       Begin OptionButton scrsel 
  46.          BackColor       =   &H0000FFFF&
  47.          Caption         =   "Screen"
  48.          ForeColor       =   &H00C00000&
  49.          Height          =   240
  50.          Left            =   45
  51.          TabIndex        =   4
  52.          Top             =   405
  53.          Width           =   915
  54.       End
  55.       Begin OptionButton prtsel 
  56.          BackColor       =   &H0000FFFF&
  57.          Caption         =   "Printer"
  58.          ForeColor       =   &H00C00000&
  59.          Height          =   330
  60.          Left            =   1035
  61.          TabIndex        =   5
  62.          Top             =   360
  63.          Width           =   915
  64.       End
  65.    End
  66.    Begin Frame Frame1 
  67.       BackColor       =   &H0000FFFF&
  68.       Caption         =   "Project"
  69.       Height          =   915
  70.       Left            =   135
  71.       TabIndex        =   0
  72.       Top             =   90
  73.       Width           =   1995
  74.       Begin OptionButton oneproj 
  75.          BackColor       =   &H0000FFFF&
  76.          Caption         =   "One"
  77.          ForeColor       =   &H00C00000&
  78.          Height          =   240
  79.          Left            =   225
  80.          TabIndex        =   2
  81.          Top             =   450
  82.          Width           =   690
  83.       End
  84.       Begin OptionButton allproj 
  85.          BackColor       =   &H0000FFFF&
  86.          Caption         =   "All"
  87.          ForeColor       =   &H00C00000&
  88.          Height          =   330
  89.          Left            =   1170
  90.          TabIndex        =   3
  91.          Top             =   405
  92.          Width           =   600
  93.       End
  94.    End
  95. End
  96. Sub allproj_Click ()
  97.     projFlag = 2
  98. End Sub
  99.  
  100. Sub canbtn_Click ()
  101.     Unload printselect
  102. End Sub
  103.  
  104. Sub Form_Load ()
  105.     oneproj.value = -1
  106.     scrsel.value = -1
  107.     projFlag = 1
  108.     printflag = 1
  109. End Sub
  110.  
  111. Sub okbtn_Click ()
  112.     screen.mousepointer = 11
  113.     Load report1
  114. End Sub
  115.  
  116. Sub oneproj_Click ()
  117.     projFlag = 1
  118. End Sub
  119.  
  120. Sub prtsel_Click ()
  121.     printflag = 2
  122. End Sub
  123.  
  124. Sub scrsel_Click ()
  125.     printflag = 1
  126. End Sub
  127.  
  128.